<prompt> - this is wording in the dialog box to prompt the user to type in a filename
(e.g., "Save file as:")
<filename> - this is the name of the text file created or replaced, and is placed into a
field in the dialog box as a default file name.
This XFCN creates a text file in which to write (save) text from fields in cards and backgrounds. The XFCN returns a dialog box for the user to choose a name for the destination text file. The value returned by the XFCN is the name of the file choosen by the user.
--------
ex. Saving the contents of a card to a text file
on mouseUp
put the short name of this card & .txt. into tfilename
Get PutFile("Save text as:", tfilename)
if it is empty then exit mouseUp
put it into textfile
open file textfile
write field header to file textfile
write return to file textfile
write field mainbody to file textfile
close file textfile
end mouseUp
-- part contents for background part 8
----- text -----
Frank Patrick
-- part contents for card part 2
----- text -----
Courtesy of XrefText5, XrefMerge shareware ($7.50).